﻿using System.Drawing;

namespace Administracja
{
    static class Fonty
    {
        public static Font Naglowek = new Font("Arial", 14, FontStyle.Bold);
        public static Font Okres = new Font("Arial", 14);
        public static Font Normal = new Font("Arial", 10);
        public static Font Dane = new Font("Arial", 11, FontStyle.Bold);
        public static Font Towary = new Font("Arial", 11);
        public static Font Mala = new Font("Arial", 8);

        public static Pen NormalPen = new Pen(Brushes.Black);
        public static Pen DashPen = new Pen(Brushes.Black);

        public static StringFormat Lewa = new StringFormat();

        static Fonty()
        {
            Lewa.Alignment = StringAlignment.Far;

            const float tmpDlugosc = 10;
            DashPen.DashPattern = new[] { tmpDlugosc, tmpDlugosc, tmpDlugosc, tmpDlugosc };
        }
    }
}
